package com.sky;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author majinan
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.sky.mapper"})
//@EnableDubbo
//@EnableHystrix //启用 hystrix
//@EnableCircuitBreaker //启用 hystrix 的断路保存
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
        System.out.println("主系统启动成功");
    }
}
